import Mock from 'mockjs'

// 限时优惠
Mock.mock('/api/limitedTimeOffer', 'get', function () {
  return Mock.mock({
    code: 200,
    data: {
      list: [
        {
          id: 1,
          title: 'Excle基础教程26天速成',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/Excle.jpg'),
          rob: '马上抢',
        },
        {
          id: 2,
          title: 'Word基础教程26天速成',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/Word.jpg'),
          rob: '马上抢',
        },
        {
          id: 3,
          title: 'PPT基础教程26天速成',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/PPT.jpg'),
          rob: '马上抢',
        },
      ],
    },
  })
})
